<template>
  <div>
    <div class="navbar-div">
      <van-nav-bar title="类别列表"></van-nav-bar>
    </div>
    <div>
      <van-row>
        <van-col span="6">
          <div id="leftNav">
            左侧导航
          </div>
        </van-col>
        <van-col span="18">右侧列表</van-col>
      </van-row>
    </div>
  </div>
</template>

<script>
import axios from 'axios'
import url from '@/serviceApi.config'

export default {
  methods: {
    getCategory () {
      axios({
        url: url.getCategoryList,
        method: 'get'
      })
        .then(res => {
          console.log(res)
        })
        .catch(e => {
          console.log(e)
        })
    }
  },
  created () {
    this.getCategory()
  },
  data () {
    return {

    }
  },
  components: {

  }
}
</script>

<style scoped>

</style>
